import Vue from 'vue'
import {
  Grid,
  GridItem,
  NavBar,
  CountDown,
  Button,
  Toast,
  Search,
  Icon,
  Tab,
  Tabs,
  Swipe,
  SwipeItem,
  Lazyload,
  Divider,
  Dialog,
  Checkbox,
  CheckboxGroup,
  Skeleton,
  GoodsAction,
  GoodsActionIcon,
  GoodsActionButton,
  DropdownMenu,
  DropdownItem,
  SubmitBar,
  Popup,
  RadioGroup,
  Radio,
  Cell,
  CellGroup,
  Tag,
  Field,
  DatetimePicker,
  CouponList,
  Sticky,
  ContactCard,
  AddressEdit,
  AddressList,
  Switch,
  CouponCell
} from 'vant'

Vue.use(Grid)
  .use(GridItem)
  .use(NavBar)
  .use(CountDown)
  .use(Button)
  .use(Toast)
  .use(Search)
  .use(Icon)
  .use(Tab)
  .use(Tabs)
  .use(Swipe)
  .use(SwipeItem)
  .use(Lazyload)
  .use(Divider)
  .use(Dialog)
  .use(Checkbox)
  .use(CheckboxGroup)
  .use(Skeleton)
  .use(GoodsAction)
  .use(GoodsActionIcon)
  .use(GoodsActionButton)
  .use(DropdownMenu)
  .use(DropdownItem)
  .use(SubmitBar)
  .use(Popup)
  .use(RadioGroup)
  .use(Radio)
  .use(Cell)
  .use(CellGroup)
  .use(Tag)
  .use(Field)
  .use(DatetimePicker)
  .use(CouponList)
  .use(Sticky)
  .use(ContactCard)
  .use(AddressEdit)
  .use(AddressList)
  .use(Switch)
  .use(CouponCell)

export default  {
  Toast,
  NavBar
} 